import * as protobuf from '../lib/protobuf/protobuf-msg';

console.log("protobuf-test");

export function main(){

    let a = protobuf.getMsgProto();
    let base = new a.msg_base_c2s();
    base.msg_code = 1;
    base.msg_type = 2;
    let login = new a.login_login_c2s();
    login.user_name = "1111";
    login.user_pass = "22222";
    base.setMsg(login.toArrayBuffer() as any) ;
}
